<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<h1>简单类型参数</h1>
<a href="/params/demo1?password=123">简单类型参数</a>

<h1>POJO类型参数一</h1>
<form action="/params/demo1">
    用户名 : <input type="text" name="username"> <br>
    密码 : <input type="text" name="password"> <br>
    邮箱 : <input type="text" name="email"> <br>
    生日 : <input type="text" name="birthday"> <br>
    <input type="submit" value="提交">
</form>

<h1>POJO类型参数二</h1>
<form action="/params/demo2" method="post">
    用户名 : <input type="text" name="username"> <br>
    密码 : <input type="text" name="password"> <br>
    邮箱 : <input type="text" name="email"> <br>
    生日 : <input type="text" name="birthday"> <br>
    爱好 :
    <input type="checkbox" name="hobby" value="eat"> 吃
    <input type="checkbox" name="hobby" value="drink"> 喝
    <input type="checkbox" name="hobby" value="play"> 玩
    <input type="checkbox" name="hobby" value="happy"> 乐
    <br>
    <input type="submit" value="提交">
</form>

<h1>POJO类型参数三</h1>
<form action="/params/demo3">
    用户名 : <input type="text" name="username"> <br>
    密码 : <input type="text" name="password"> <br>
    邮箱 : <input type="text" name="email"> <br>
    爱好 :
    <input type="checkbox" name="hobby" value="eat"> 吃
    <input type="checkbox" name="hobby" value="drink"> 喝
    <input type="checkbox" name="hobby" value="play"> 玩
    <input type="checkbox" name="hobby" value="happy"> 乐
    <br>

    籍贯 :
    <input type="text" name="addressList[0].province" placeholder="请输入省">
    <input type="text" name="addressList[0].city" placeholder="请输入市">
    <input type="text" name="addressList[0].area" placeholder="请输入区">
    <br>
    <input type="submit" value="提交">
</form>

<h1>POJO类型参数四</h1>
<form action="/params/demo4">
    用户名 : <input type="text" name="username"> <br>
    密码 : <input type="text" name="password"> <br>
    邮箱 : <input type="text" name="email"> <br>
    籍贯 :
    <input type="text" name="addressList[0].province" placeholder="请输入省">
    <input type="text" name="addressList[0].city" placeholder="请输入市">
    <input type="text" name="addressList[0].area" placeholder="请输入区">

    <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="text" name="addressList[1].province" placeholder="请输入省">
    <input type="text" name="addressList[1].city" placeholder="请输入市">
    <input type="text" name="addressList[1].area" placeholder="请输入区">
    <br>
    <input type="submit" value="提交">
</form>

<h1>POJO类型参数五</h1>
<form action="/params/demo5">
    用户名 : <input type="text" name="username"> <br>
    密码 : <input type="text" name="password"> <br>
    邮箱 : <input type="text" name="email"> <br>
    家庭住址 :
    <input type="text" name="addressMap['home'].province" placeholder="请输入省">
    <input type="text" name="addressMap['home'].city" placeholder="请输入市">
    <input type="text" name="addressMap['home'].area" placeholder="请输入区">
    <br>
    工作住址 :
    <input type="text" name="addressMap['work'].province" placeholder="请输入省">
    <input type="text" name="addressMap['work'].city" placeholder="请输入市">
    <input type="text" name="addressMap['work'].area" placeholder="请输入区">
    <br>
    <input type="submit" value="提交">
</form>

<hr>
<h1>数组类型参数</h1>
<a href="/params/demo6?hobby=eat&hobby=drink&hobby=play">数组类型参数</a>

<h1>集合类型参数</h1>
<a href="/params/demo6?hobby=eat&hobby=drink&hobby=play">集合类型参数一</a>



</body>
</html>
